package com.hotel.app.service;

import com.hotel.app.config.OpenFeignConfig;
import com.hotel.common.param.PayAdd;
import com.hotel.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @desc:
 * @author: ZHY
 * @date: 2024/6/17,18:38
 */
@FeignClient(value = "ht-wallet-server",configuration = OpenFeignConfig.class)
public interface UserWalletFeign {
    @RequestMapping("/user/wallet/create")
    R create(@RequestBody PayAdd payAdd);

    /**
     * 获取钱包余额
     * @return
     */
    @RequestMapping("/user/wallet/my")
    R ShowMyBalance();

    /**
     * 充值记录
     */
    @RequestMapping("/user/wallet/rechargeLogs")
    R findRechargeLogs();
}
